package com.draven.order.service;

import com.draven.model.product.ProductDTO;
import com.draven.order.entity.Order;

import java.util.List;

public interface OrderService {
    String create(Long id, Integer num);

    List<Order> getOrderList();

    Order getOrderById(Long id);

    String updateOrder(Long id, Order order);

    void deleteOrder(Long id);

    void deleteOrdersBatch(List<Long> ids);

    List<ProductDTO> productPage();

    ProductDTO productDetail(Long id);
}
